<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<c:set var="contextPath" value="${pageContext.request.contextPath}"/>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<base href="<%=basePath%>">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<meta name="keywords" content="">
<meta name="description" content="">
<!--[if lt IE 9]>
<meta http-equiv="refresh" content="0;ie.html" />
<![endif]-->

<script src="static/js/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="static/adminLTE/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="static/adminLTE/dist/js/adminlte.js"></script>
<!-- DataTables -->
<script src="static/adminLTE/plugins/datatables/jquery.dataTables.min.js"></script>
<script src="static/adminLTE/plugins/datatables/dataTables.bootstrap4.min.js"></script>
<script src="static/adminLTE/plugins/datatables/dataTables.bootstrap4.js"></script>

<!-- AdminLTE for demo purposes -->
<script src="static/adminLTE/dist/js/demo.js"></script>

<script src="static/js/index.js"></script>

<script src="static/js/global.js"></script>

<!-- 图片即时预览 -->
<script src="static/js/uploadPreview.min.js"></script>

<!-- 消息弹框 -->
<script src="static/js/coco-message.js"></script>
<script src="static/js/sweetalert.min.js"></script>

<%--时间插件--%>
<script type="text/javascript" src="static/layDate-v5.0.9/laydate/laydate.js"></script>

<%--模糊查询--%>
<script src="static/select/jquery.combo.select.js"></script>

<script type="text/javascript">
    function focusNextInput(thisInput) {//jQuery实现在一个输入框按回车键后光标跳到下一个输入框
        var inputs = document.getElementsByClassName("formInfoVal");
        for (var i = 0; i < inputs.length; i++) {
            if (i === (inputs.length - 1)) {//如果是最后一个，则焦点回到第一个
                inputs[0].focus();
                break;
            } else if (thisInput === inputs[i]) {
                inputs[i + 1].focus();
                break;
            }
        }
    }
</script>